Installing the JDBC Client
NOTE: Be sure that a full JDK is on your path. See "SequeLink® Client for JDBC" for more information.
To install on your local drive:
- Locate the JDBC Client. If you are installing:
- From the DataDirect DVD, navigate to the sqlnk60/client/java subdirectory. Continue at Step 3.
See "Mounting Your DVD" for information about mounting the SequeLink DVD on the most common Java-enabled platforms.
- From the DataDirect Web site http://www.datadirect.com/download/downloadindex.asp, download the sequelinkjdbc.jar file to an installer directory, which can also be the installation directory for the JDBC Client. You can choose a different installation directory during the installation procedure.
- At a command prompt, enter the following command to unpack the SLJCInstaller.jar file:
java -jar sequelinkjdbc.jar
- To run the installer, follow either of the following procedures:
- If you prefer to use a Graphical User Interface (GUI), go to "GUI Installation" for instructions.
- If you prefer to use a command line, go to "Command-Line Installation" for instructions.
GUI Installation
- At a command prompt, enter the following command:
java -jar SLJCInstaller.jar
The DataDirect SequeLink for JDBC 6.0 Installer window appears. Click Next to continue. The License Agreement window appears.
- On the License Agreement window, perform one of the following actions:
- A window appears allowing you to select the components to install.
Because the SequeLink for JDBC Driver option is required, that option is grayed out.
Select or clear one or more of the following options:
- Install Developer's Tools: Select this option to install DataDirect Test™ for testing JDBC applications, DataDirect Spy™ for tracking JDBC calls, and the DataDirect Connection Pool Manager.
- Install Proxy Server: Select this option to install the SequeLink Proxy Server. Installing the SequeLink Proxy Server on the Web server from which your JDBC applets are downloaded allows untrusted applets to connect to SequeLink Servers on hosts other than the Web server.
- Create JCA Resource Adapters: Select this option if you need to create resource adapters to connect to enterprise information systems through the J2EE Connector Architecture.
- Install SequeLink Online Books: Select this option to install the SequeLink 6.0 library.
- In the Install Directory field, type the path, including the drive letter on Windows machines, of the JDBC Client installation directory or click the ... button next to the field to select an installation directory.
NOTE: The default value for the installation directory is the directory from which the installer is running. Verify that you have entered or selected the correct directory into which you want to install the JDBC Client. If you have a previous version of the JDBC Client installed on the same machine, you must specify a directory different from the one for the previous version.
Then, click Next to continue.
- A window appears allowing you to confirm your installation options. Click Back to revise your choices, or click Install to install the JDBC Client. The JDBC Client is installed.
- Click Finish to close the Installer.
Command-Line Installation
- At a command prompt, change to the directory where the SLJCInstaller.jar is located.
- Enter the following command:
java -cp SLJCInstaller.jar com.ddtek.jdbc.sljcinstaller.Installer -ir {yes|no} -it {yes|no} -ib {yes|no} -ip {yes|no} -d {
install_dir}where:
- If the JDBC Client was successfully installed, a message appears confirming the installation.
Example:
java -cp SLJCInstaller.jar com.ddtek.jdbc.sljcinstaller.Installer -ir yes -it yes -ib yes -ip no -d "C:\Program Files\DataDirect\sljc60"This SequeLink command-line example performs the following actions:
- Installs the SequeLink for JDBC Driver
- Creates JCA resource adapters (
-ir yes)- Installs the JDBC development components DataDirect Test and DataDirect Spy (
-it yes)- Installs the SequeLink Online Books (
-ib yes)- Does not install the SequeLink Proxy Server (
-ip no)- Installs the preceding components to the installation directory C:\Program Files\DataDirect\sljc (
-d "C:\Program Files\DataDirect\sljc60")